<div class="4u"  style="text-align: center">

	<div class="10u" style="text-align: center">
		<h2 style="text-align: center"><?php echo $user_data['name']?></h2>
		<img style="width: 80%; margin-bottom: 30px; border-radius: 15px" src="<?php echo base_url().'images/avatar/'. ($user_data['image'] ? $user_data['image'] : ($user_data['gender']==1 ? 'no_avatar_male.gif' : 'no_avatar_female.gif'))?>">

		<a href="<?php echo base_url().'profile'?>" class="button fa fa-info-circle" style="padding: 0.5em 1em">Edit Profile</a>
	</div>

	<div class="10u">
		<?php
			if(!isset($list_article))
				echo '<a href="'.base_url().'blog/all'.'" class="button fa fa-th-list" style="padding: 0.5em 1em; margin-top: 1em; background-color: #ff1e1a">List All Articles</a>';
		?>
<!--		<a href="--><?php //echo base_url().'blog/all'?><!--" class="button fa fa-th-list" style="padding: 0.5em 1em; margin-top: 1em; background-color: #ff1e1a">List All Articles</a>-->
	</div>


</div>